/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BusinessLogic;

import BusinessEntity.BE_Personal;
import DataAccessObject.DA_Personal;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author richard.saldana
 */
public class BL_Personal {
    
    private static BL_Personal pinstancia=null;

    public static BL_Personal obtenerInstancia()
    {
      if (pinstancia==null)
      {
          pinstancia=new BL_Personal();
      }
      return pinstancia;
    }
    
        public ArrayList<BE_Personal> obtenerPersonalAsignacion()throws InstantiationException, IllegalAccessException, SQLException{
        
        ArrayList<BE_Personal> aobjBE_personalAsignacion = DA_Personal.obtenerInstancia().obtenerPersonalAsignacion();
        return aobjBE_personalAsignacion;
    }
    
}
